package com.gxuwz.stats.entity;


import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("rsp_scientific_activity")
public class ScientificActivity {

    @TableId(type = IdType.AUTO)
    private int scientificId;
    private int userId;
    @ExcelProperty(value = "作品名称")
    private String scientificWorkName;
    @ExcelProperty(value = "出版社名称")
    private String scientificPublisher;
    @ExcelProperty(value = "出版时间")
    private String scientificPublishDate;
    @ExcelProperty(value = "ISBN号")
    private String scientificIsbn;
    @ExcelProperty(value = "类别")
    private String scientificCategory;
    @ExcelProperty(value = "篇数")
    private String scientificArticleCount;
    @ExcelProperty(value = "分值")
    private String scientificScore;
    @ExcelProperty(value = "备注")
    private String scientificNotes;
    @TableField(exist = false) // 不映射到数据库
    private String username;

    public int getScientificId() {
        return scientificId;
    }

    public void setScientificId(int scientificId) {
        this.scientificId = scientificId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getScientificWorkName() {
        return scientificWorkName;
    }

    public void setScientificWorkName(String scientificWorkName) {
        this.scientificWorkName = scientificWorkName;
    }

    public String getScientificPublisher() {
        return scientificPublisher;
    }

    public void setScientificPublisher(String scientificPublisher) {
        this.scientificPublisher = scientificPublisher;
    }

    public String getScientificCategory() {
        return scientificCategory;
    }

    public void setScientificCategory(String scientificCategory) {
        this.scientificCategory = scientificCategory;
    }

    public String getScientificPublishDate() {
        return scientificPublishDate;
    }

    public void setScientificPublishDate(String scientificPublishDate) {
        this.scientificPublishDate = scientificPublishDate;
    }

    public String getScientificIsbn() {
        return scientificIsbn;
    }

    public void setScientificIsbn(String scientificIsbn) {
        this.scientificIsbn = scientificIsbn;
    }

    public String getScientificArticleCount() {
        return scientificArticleCount;
    }

    public void setScientificArticleCount(String scientificArticleCount) {
        this.scientificArticleCount = scientificArticleCount;
    }

    public String getScientificScore() {
        return scientificScore;
    }

    public void setScientificScore(String scientificScore) {
        this.scientificScore = scientificScore;
    }

    public String getScientificNotes() {
        return scientificNotes;
    }

    public void setScientificNotes(String scientificNotes) {
        this.scientificNotes = scientificNotes;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "ScientificActivity{" +
                "scientificId=" + scientificId +
                ", userId=" + userId +
                ", scientificWorkName='" + scientificWorkName + '\'' +
                ", scientificPublisher='" + scientificPublisher + '\'' +
                ", scientificPublishDate='" + scientificPublishDate + '\'' +
                ", scientificIsbn='" + scientificIsbn + '\'' +
                ", scientificCategory='" + scientificCategory + '\'' +
                ", scientificArticleCount='" + scientificArticleCount + '\'' +
                ", scientificScore='" + scientificScore + '\'' +
                ", scientificNotes='" + scientificNotes + '\'' +
                '}';
    }
}
